WooCommerce\PayPalCommerce\ApiClient\Entity\Item S

Total Complexity 19
Dependencies 1
Dependents 6
Total lines 268
Lines of code 74
Logical lines of code 34
Comment lines 135
Methods 14
Properties 11

Methods 14

Method Rating Maintainability Complexity Lines of code
to_array()
S
53 5 24
image_url()
S
79 2 3
__construct()
S
60 1 13
name()
S
82 1 3
unit_amount()
S
82 1 3
quantity()
S
82 1 3
description()
S
82 1 3
tax()
S
82 1 3
sku()
S
82 1 3
category()
S
82 1 3
url()
S
82 1 3
tax_rate()
S
79 1 3
cart_item_key()
S
82 1 3
validate_image_url()
S
75 1 4